make sure that gdk_drag_event() is called when track_motion is TRUE to
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 23 Mar 2006 14:39:56 +0000 (14:39 +0000)
committerCarlos Garnacho <carlosg@src.gnome.org>
Thu, 23 Mar 2006 14:39:56 +0000 (14:39 +0000)
2006-03-23  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
        is called when track_motion is TRUE to receive drag_motion and
        drag_leave events properly.

ChangeLog
ChangeLog.pre-2-10
gtk/gtkdnd.c

index 730d65cd31de2d0144c20e9eda4e49c375ad8e85..7768fa11b491b224f0f067740e9a9688709ace66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-23  Carlos Garnacho  <carlosg@gnome.org>
+
+       * gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
+       is called when track_motion is TRUE to receive drag_motion and
+       drag_leave events properly.
+
 2006-03-22  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed
index 730d65cd31de2d0144c20e9eda4e49c375ad8e85..7768fa11b491b224f0f067740e9a9688709ace66 100644 (file)
@@ -1,3 +1,9 @@
+2006-03-23  Carlos Garnacho  <carlosg@gnome.org>
+
+       * gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
+       is called when track_motion is TRUE to receive drag_motion and
+       drag_leave events properly.
+
 2006-03-22  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed
index 4ab402dcf471579849289745d32f37bd8c698042..ca55e2d85964a645ea05200efd459ef0cab54157 100644 (file)
@@ -1985,7 +1985,7 @@ gtk_drag_dest_motion (GtkWidget        *widget,
       return TRUE;
     }
 
-  if (site->flags & GTK_DEST_DEFAULT_MOTION)
+  if (site->track_motion || site->flags & GTK_DEST_DEFAULT_MOTION)
     {
       if (context->suggested_action & site->actions)
        action = context->suggested_action;